package com.yw.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yw.codeManageInfo.domain.CodeConfiguration;
import com.yw.codeManageInfo.domain.CodeManageInfo;
import com.yw.codeManageInfo.dto.AddCodeDTO;
import com.yw.codeManageInfo.dto.QueryDTO;
import com.yw.codeManageInfo.vo.CodeManageInfoVO;
import com.yw.piliangDTO.StatusDTO;
import com.yw.result.PageDTO;


import java.util.List;

public interface CodeManageService extends IService<CodeManageInfo> {

    public Page<CodeManageInfoVO> pageAllByQuery(QueryDTO queryDTO);

    public AddCodeDTO getConfigurationByCodeId(Integer id);

    public Boolean addCode(AddCodeDTO addCodeDTO);

    public Boolean updateStatic(Integer id);

    public Boolean updateCode(Integer id,AddCodeDTO addCodeDTO);

    //批量发布
    public Boolean batch(StatusDTO statusDTO);

    public byte[] exportDataToExcel();

    //数据资产中得到所有码表名
    public List<String> codeNames();


}
